// 项目分类
export default {
    data() {
        return {
            categoryIdoptions: []
        };
    },
    methods: {
        get_categoryIdoptions(branchId) {
            if (branchId == null || branchId == "") {
                this.categoryIdoptions = [];
                return;
            }
            this.$store
                .dispatch("pubilcPage/get_categoryIdoptions", {
                    "branchId": branchId,
                    "enable": 1,
                })
                .then(res => {
                    this.categoryIdoptions = res;
                });
        }
    }
};